package com.ophiux.utils.common;

import java.util.List;

/**
 * 集合工具类
 * @author chenh
 *
 */
public class CollectionUtil {

	/**
	 * true：空
	 * false：非空
	 * @param collection
	 * @return
	 */
	public static boolean isEmpty(List collection) {
		return (collection == null 
				|| collection.size() == 0) ? true : false;
	}
	
}
